package com.lh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lh.entity.table.DeadlineNode;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface DeadlineNodeMapper extends BaseMapper<DeadlineNode> {

    int updateWithNullById(DeadlineNode entity);

    void batchInsert(@Param("list") List<DeadlineNode> deadlineNodes);

    void batchDelete(@Param("list") List<Integer> toDeleteIds);

    void batchUpdate(@Param("list") List<DeadlineNode> deadlineNodes);

}
